Skip to content

[TW-5592] Support callback URIs in application updates#737

Merged
AaronDDM merged 2 commits into
mainfrom
fix-application-callback-uris
Jun 12, 2026
Merged

[TW-5592] Support callback URIs in application updates#737
AaronDDM merged 2 commits into
mainfrom
fix-application-callback-uris

Conversation

@AaronDDM

@AaronDDM AaronDDM commented Jun 12, 2026

Copy link
Copy Markdown
Collaborator

Context

Follow-up to the review feedback on nylas-java#327. PATCH /v3/applications accepts callback_uris, and callers need to include an existing callback URI id when preserving or updating entries. The Node SDK typed request model did not expose that shape.

Summary

  • Add UpdateApplicationRedirectUriRequest with optional id, platform, and settings.
  • Add callbackUris to UpdateApplicationRequest and remove stale docs saying callback URIs are ignored.
  • Cover forwarding a callbackUris entry with an existing id in the application update test.
  • Update the Unreleased changelog for application callback URI preservation and invalidAlso workspace auto-group support.

Testing

  • npm test -- --coverage=false tests/resources/applications.spec.ts
  • npm run lint:prettier:check
  • npx tsc -p tsconfig.esm.json --noEmit
  • npx tsc -p tsconfig.cjs.json --noEmit
  • GitHub Actions: passing

@codecov

codecov Bot commented Jun 12, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.90%. Comparing base (2d7f672) to head (1c70955).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #737   +/-   ##
=======================================
  Coverage   98.90%   98.90%           
=======================================
  Files          42       42           
  Lines        1006     1006           
  Branches       90       90           
=======================================
  Hits          995      995           
  Misses         11       11           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@qasim-nylas qasim-nylas left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@AaronDDM AaronDDM merged commit 8277c12 into main Jun 12, 2026
10 checks passed
@radenkovic radenkovic mentioned this pull request Jun 17, 2026
@AaronDDM AaronDDM changed the title Support callback URIs in application updates [TW-5592] Support callback URIs in application updates Jun 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants